package com.hcw.bankdemob.model;

import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName TradeLog
 * @description: 交易记录表
 * @author: hcw
 * @time: 2020/9/1 17:25
 */
@Data
@Builder
public class TradeLog {
    //主键id
    private int id;
    //转款方
    private String fromName;
    //收款方
    private String toName;
    //转账金额
    private BigDecimal money;
    //转账时间
    private Date dateTime;
    //交易状态 0；开始交易 1交易成功 2 交易失败
    private int status;
    //失败原因
    private String failReason;
    //A的交易id
    private int aId;
    //其他渠道类型

}